<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>主页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/layui/css/layui.css" rel="stylesheet">
    <link rel="icon" href="/images/hospital.ico" type="image/x-icon">
    <style>
        .imgIcon {
            width: 20px;
            height: 20px;
            margin-right: 20px;
        }

        .layui-nav-tree .layui-nav-child dd {
            margin-left: 38px;
        }
    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black"><a href="/home" style="text-decoration: none; color: inherit;"><img src="/sb-admin-2/img/hospitalLogo.png" class="layui-nav-img">只因医院系统</a>
        </div>
        <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>
            <li class="layui-nav-item layui-hide-xs" style="width: 600px">
                <!-- 每日一言显示区 -->
                <span id="hitokoto">欢迎访问只因医院管理系统</span>
                <span id="source" style="float: right;margin-right: 10px">

                </span>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-sm-inline-block">
                <a href="javascript:;">
                    <img src="https://image.snowice.fun/bg-image/avatar.jpeg" id="userImg" class="layui-nav-img">
                    <span id="loginUser"></span>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;">个人信息</a></dd>
                    <dd><a href="javascript:;">设置</a></dd>
                    <dd><a href="javascript:;">退出登录</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-hide layui-show-sm-inline-block">
                <a href="/logout">退出登录</a>
            </li>
        </ul>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test" id="menu-ul">

            </ul>
        </div>
    </div>
    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 5px;">
            <div class="layui-tab" lay-filter="TAB" lay-allowclose="true" id="TAB" style="display: none">
                <ul class="layui-tab-title" >
                </ul>
            </div>
            <!--内容区域-->
            <div class="layui-card layui-panel">
                <div class="layui-card-body">
                    <iframe data-frameid="2" scrolling="auto" frameborder="0" id="mainFrame" name="mainFrame" src="/main"
                            style="width: 100%; height: 843px;"></iframe>
                </div>
            </div>
            <br><br>
        </div>
    </div>
    <div class="layui-footer">
        <!-- 底部固定区域 -->
        Copyright ©Yxb😀
    </div>
</div>

<script src="/layui/layui.js"></script>
<script src="/js/home.js"></script>
<script src="/js/jquery-3.3.1.min.js"></script>
</body>
</html>